react native component at bottom center

91

react native button top right -

<View>
    <Image
        source={require('../images/AppIntro/1.png')} 
        style={{ width: '100%', height: 150 }}
    />
    <Icon name="md-close" 
          style={{
                position: 'absolute',
                right: 5,
                top: 5,
          }} />
</View>

how to put react compnent to bottom -

button: {  position: 'absolute',  bottom:0}

Comments

Submit
0 Comments